#ifndef __MPU6050_H__
#define __MPU6050_H__
typedef struct axisdata{int16_t accx;int16_t accy;int16_t accz;
                        int16_t angaccx;int16_t angaccy;int16_t angaccz}AxisDataTypeDef;
void Mpu6050_Init();
void Mpu6050WriteReg(uint8_t add,uint8_t data);
uint8_t Mpu6050ReadReg(uint8_t add);
void Mpu6050Getdata(AxisDataTypeDef * AxisDataPt);
#endif

